import 'package:flutter/material.dart';

import 'video_widget.dart';

main() => runApp(MaterialApp(home: MainPage()));
var url =
    'https://baobab.kaiyanapp.com/api/v1/playUrl?vid=166122&resourceType=video&editionType=default&source=aliyun&playUrlType=url_oss';

class MainPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
        body: VideoItem(image: '', video: url),
      );
}
